/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dp.vo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author wyr
 */
@Entity
@Table(name = "t_tj_k16linktime")
//@NamedQueries({@NamedQuery(name = "TTjK16LinkTime.findAll", query = "SELECT t FROM TTjK16LinkTime t"), @NamedQuery(name = "TTjK16LinkTime.findById", query = "SELECT t FROM TTjK16LinkTime t WHERE t.id = :id"), @NamedQuery(name = "TTjK16LinkTime.findByCyear", query = "SELECT t FROM TTjK16LinkTime t WHERE t.cyear = :cyear"), @NamedQuery(name = "TTjK16LinkTime.findByCmonth", query = "SELECT t FROM TTjK16LinkTime t WHERE t.cmonth = :cmonth"), @NamedQuery(name = "TTjK16LinkTime.findByCday", query = "SELECT t FROM TTjK16LinkTime t WHERE t.cday = :cday"), @NamedQuery(name = "TTjK16LinkTime.findByChour", query = "SELECT t FROM TTjK16LinkTime t WHERE t.chour = :chour"), @NamedQuery(name = "TTjK16LinkTime.findByMpaltform", query = "SELECT t FROM TTjK16LinkTime t WHERE t.mpaltform = :mpaltform"), @NamedQuery(name = "TTjK16LinkTime.findByCiparea", query = "SELECT t FROM TTjK16LinkTime t WHERE t.ciparea = :ciparea"), @NamedQuery(name = "TTjK16LinkTime.findByUdid", query = "SELECT t FROM TTjK16LinkTime t WHERE t.udid = :udid")})
public class TTjK16LinkTime implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "id")
    private Integer id;
    @Column(name = "cyear")
    private String cyear;
    @Column(name = "cmonth")
    private String cmonth;
    @Column(name = "cday")
    private String cday;
    @Column(name = "clientid")
    private Integer clientid;
    @Column(name = "mencoding")
    private String mencoding;
    @Column(name = "telnumber")
    private String telnumber;
    @Column(name = "kdnumber")
    private String kdnumber;
    @Column(name = "createtime")
    private Date createtime;
    @Column(name = "linktime")
    private Integer linktime;
    @Column(name = "areaname")
    private String areaname;
    @Column(name = "user_type")
    private Integer user_type;
    
    public TTjK16LinkTime() {
    }

    public TTjK16LinkTime(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getCyear() {
        return cyear;
    }

    public void setCyear(String cyear) {
        this.cyear = cyear;
    }

    public String getCmonth() {
        return cmonth;
    }

    public void setCmonth(String cmonth) {
        this.cmonth = cmonth;
    }

    public String getCday() {
        return cday;
    }

    public void setCday(String cday) {
        this.cday = cday;
    }


    /**
	 * clientid
	 *
	 * @return  the clientid
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public Integer getClientid() {
		return clientid;
	}

	/**
	 * @param clientid the clientid to set
	 */
	public void setClientid(Integer clientid) {
		this.clientid = clientid;
	}

	/**
	 * mencoding
	 *
	 * @return  the mencoding
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getMencoding() {
		return mencoding;
	}

	/**
	 * @param mencoding the mencoding to set
	 */
	public void setMencoding(String mencoding) {
		this.mencoding = mencoding;
	}

	/**
	 * telnumber
	 *
	 * @return  the telnumber
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getTelnumber() {
		return telnumber;
	}

	/**
	 * @param telnumber the telnumber to set
	 */
	public void setTelnumber(String telnumber) {
		this.telnumber = telnumber;
	}

	/**
	 * createtime
	 *
	 * @return  the createtime
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public Date getCreatetime() {
		return createtime;
	}

	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/**
	 * linktime
	 *
	 * @return  the linktime
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public Integer getLinktime() {
		return linktime;
	}

	/**
	 * @param linktime the linktime to set
	 */
	public void setLinktime(Integer linktime) {
		this.linktime = linktime;
	}

	@Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TTjK16LinkTime)) {
            return false;
        }
        TTjK16LinkTime other = (TTjK16LinkTime) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.TTjK16LinkTime[id=" + id + "]";
    }

	/**
	 * kdnumber
	 *
	 * @return  the kdnumber
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getKdnumber() {
		return kdnumber;
	}

	/**
	 * @param kdnumber the kdnumber to set
	 */
	public void setKdnumber(String kdnumber) {
		this.kdnumber = kdnumber;
	}

	/**
	 * areaname
	 *
	 * @return  the areaname
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getAreaname() {
		return areaname;
	}

	/**
	 * @param areaname the areaname to set
	 */
	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	/**
	 * user_type
	 *
	 * @return  the user_type
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public Integer getUser_type() {
		return user_type;
	}

	/**
	 * @param user_type the user_type to set
	 */
	public void setUser_type(Integer user_type) {
		this.user_type = user_type;
	}


}
